package com.bdqn.vueboot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bdqn.vueboot.entity.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Entity com.bdqn.vuebook.entity.SysUser
 */
@Mapper
@Component
public interface SysUserMapper extends BaseMapper<SysUser> {
    SysUser selectOneByUsrName(@Param("usrName") String usrName);

    List<SysUser> selectByUsrId(@Param("usrId") Long usrId);

    SysUser findOneByUsrName(@Param("usrName") String usrName);

}




